<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>小小画布</title>
  <link rel="stylesheet" href="index.css" />
</head>

<body>
  <div class="container">
    <div class="tools">
      <div class="penBlack"></div>
      <div class="penWhite"></div>
      <div class="penRed"></div>
      <div class="penSmall">细</div>
      <div class="penMiddle">中</div>
      <div class="penBig">粗</div>
      <div class="penEraser">重置</div>
      <div class="bgcBlack"></div>
      <div class="bgcWhite"></div>
    </div>
    <canvas id="canvas" style="background: white"></canvas>
  </div>
  <script src="index.js"></script>
</body>

</html>